package sugarbind_input

class Binding_StrengthController {

    def scaffold = true
	
	def findBinding_Strengths = {
		println("findBinding_Strengths params : " +params)
			
		def binding_Strengths = Binding_Strength.listBinding_Strengths()
		def selected


		try
		{
			selected = Binding_Strength.get(params.binding_Strength.id)
		}
		catch(Exception ex)
		{
			println(ex.getMessage())
		}
		println(binding_Strengths)
		println(selected)
		
		render(template: 'ddlBinding_Strengths', model:  [binding_Strengths : binding_Strengths, selected:selected])
	  }
}
